package com.license.logic.behaviorlog;

public class RiskFactor {

	private String sex;
	private double sbp;
	private boolean diabetes;
	private boolean smoker;
	private boolean familyCardHistory;
	private double weight;
	private double height;
	private RiskFactorAdditional additional;
	
	public double getBmi(){
		return this.weight / (this.height * this.height);
	}
	
	public double getWeight() {
		return weight;
	}
	public void setWeight(double weight) {
		this.weight = weight;
	}
	public double getHeight() {
		return height;
	}
	public void setHeight(double height) {
		this.height = height;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public double getSbp() {
		return sbp;
	}
	public void setSbp(double sbp) {
		this.sbp = sbp;
	}
	public boolean isDiabetes() {
		return diabetes;
	}
	public void setDiabetes(boolean diabetes) {
		this.diabetes = diabetes;
	}
	public boolean isFamilyCardHistory() {
		return familyCardHistory;
	}
	public void setFamilyCardHistory(boolean familyCardHistory) {
		this.familyCardHistory = familyCardHistory;
	}
	public boolean isSmoker() {
		return smoker;
	}
	public void setSmoker(boolean smoker) {
		this.smoker = smoker;
	}

	public RiskFactorAdditional getAdditional() {
		return additional;
	}

	public void setAdditional(RiskFactorAdditional additional) {
		this.additional = additional;
	}

}
